﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
///后台管理员基类
/// </summary>
public class AdminBase : CnGine.Web.PageBase
{

    public override void ValidateSession()
    {
        if (Session["admin"] == null)
        {
            Response.Redirect("/admin/login.aspx");
        }
    }

}
